<?php 
	$class['about'] 	= ($_SESSION['section'] == "about") ? "active" : "";
	$class['knowledge'] = ($_SESSION['section'] == "knowledge") ? "active" : "";
	$class['projects'] 	= ($_SESSION['section'] == "projects") ? "active" : "";
	$class['contact'] 	= ($_SESSION['section'] == "contact") ? "active" : "";
?>

<ul id="navBar">
	<li><a id="about" class="<?php echo $class['about']; ?>" href="/about/"><?php echo $lang['about']; ?></a></li>
	<li><a id="knowledge" class="<?php echo $class['knowledge']; ?>" href="/knowledge/"><?php echo $lang['knowledge']; ?></a></li>
	<li><a id="projects" class="<?php echo $class['projects']; ?>" href="/projects/"><?php echo $lang['projects']; ?></a></li>
	<li><a id="contact" class="<?php echo $class['contact']; ?>" href="/contact/"><?php echo $lang['contact']; ?></a></li>
</ul>


